package demo04;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.HashMap;

public class object {
    public static void main(String[] args) {
        List<Map<String , Object>> l = new ArrayList<>();


        Map<String, Object> map = new HashMap<>();
        map.put("name", "周周");
        map.put("age", 18);
        map.put("id", "14");
        l.add(map);

        Map<String, Object> map2 = new HashMap<>();
        map2.put("name", "小明");
        map2.put("age", 19);
        map2.put("id", "15");
        for (Map<String, Object> map1 : l){
            System.out.println(map1.get(map));
        }
    }
}
